import { getReqRecommend } from '../service/music'
import { HYEventStore } from 'hy-event-store'

export const recommendStore = new HYEventStore({
  state: {
    recommendInfo: {}
  },
  actions: {
    async fetchRecommendSong() {
      const res = await getReqRecommend(3778678)
      this.setState("recommendInfo",res.playlist)
    }
  }
})

